package com.qixin.modules.eaLoan.service.impl;

import com.qixin.modules.eaLoan.entity.EaLoanbillDetail;
import com.qixin.modules.eaLoan.mapper.EaLoanbillDetailMapper;
import com.qixin.modules.eaLoan.service.IEaLoanbillDetailService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 关联借款单明细
 * @Author: qixin-boot
 * @Date:   2021-07-20
 * @Version: V1.0
 */
@Service
public class EaLoanbillDetailServiceImpl extends ServiceImpl<EaLoanbillDetailMapper, EaLoanbillDetail> implements IEaLoanbillDetailService {
	
	@Autowired
	private EaLoanbillDetailMapper eaLoanbillDetailMapper;
	
	@Override
	public List<EaLoanbillDetail> selectByMainId(String mainId) {
		return eaLoanbillDetailMapper.selectByMainId(mainId);
	}

	@Override
	public EaLoanbillDetail selectById(String id) {
		return eaLoanbillDetailMapper.selectById(id);
	}
}
